﻿/* *********************************************
 * Crypto libary : TestApp Module
 * Christiaan Rakowski 20110825
 * This module will show how to use the library in you own code
 * ********************************************/

using System;
using System.Threading;
using CryptoCs.PasswordUtils;

namespace TestApp
{
	class Program
	{
		static void Main(string[] args)
		{
			Console.WriteLine("Test App");

			Console.WriteLine("Generate 20 random passwords of 8 char length");
			for (int i = 0; i < 20; i++)
			{
				Console.WriteLine(PasswordGenerator.GeneratePassword(8, CharSets.AlphaNumericSpecial));
				Thread.Sleep(100); //The seed used by the random number generator is time based
			}
		}
	}
}
